projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e56581
)
listbase: Increase the autoscroll threshold
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 12:19:34 +0000
(08:19 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 19 Jun 2020 19:26:10 +0000
(15:26 -0400)
With autoscroll during DND, we stop when you hit the edge
of the widget, so a larger threshold makes sense to avoid
hitting the edge by accident.
gtk/gtklistbase.c
patch
|
blob
|
history
diff --git
a/gtk/gtklistbase.c
b/gtk/gtklistbase.c
index 4698682db1a38f13eb6a2190653fe6d0f0433b7c..5e2eb3fb39c19dc349b067d8c32d4c618a499bbd 100644
(file)
--- a/
gtk/gtklistbase.c
+++ b/
gtk/gtklistbase.c
@@
-1296,7
+1296,7
@@
remove_autoscroll (GtkListBase *self)
}
}
-#define SCROLL_EDGE_SIZE
15
+#define SCROLL_EDGE_SIZE
30
static void
update_autoscroll (GtkListBase *self,